package com.peas.platform.module.icims.budget.project.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.project.adapter.repository.BudgetProjectTwoKpiRepository;
import com.peas.platform.module.icims.budget.project.adapter.repository.po.BudgetProjectTwoKpiPo;
import com.peas.platform.module.icims.budget.project.domain.BudgetProjectTwoKpiDomain;
import com.peas.platform.module.icims.budget.project.dto.BudgetProjectTwoKpiDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetProjectTwoKpiDomainImpl extends BaseDomainImpl<BudgetProjectTwoKpiDto, BudgetProjectTwoKpiPo> implements BudgetProjectTwoKpiDomain {

    @Resource
    private BudgetProjectTwoKpiRepository budgetProjectTwoKpiRepository;

    @Override
    public BaseRepository<BudgetProjectTwoKpiPo> getMapper() {
        return budgetProjectTwoKpiRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetProjectTwoKpiPo>> getRepositoryClass() {
        return BudgetProjectTwoKpiRepository.class;
    }

}
